<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>baoge-1</title>
  </head>
  <style>
      /* characteristic */
.char {position:relative;width: 100%;background: url(//game.gtimg.cn/images/hongjing/web201803/char_bg.jpg) no-repeat center 0;overflow: hidden;}
.char h2 {height:97px;background-position: -197px 0}
.char-off {width: 1416px;height: 710px;margin:53px auto 0;}
.char-off li {float: left;width: 354px;height: 710px;}
.char-off1 {background: url(//game.gtimg.cn/images/hongjing/web201803/char_off1.jpg);}
.char-off2 {background: url(//game.gtimg.cn/images/hongjing/web201803/char_off2.jpg);}
/*.char-off3 {background: url(//game.gtimg.cn/images/hongjing/web201803/char_off3.jpg);}*/
.char-off3 {background: url(//game.gtimg.cn/images/hongjing/web201803/char_off3.jpg);}
.char-off4 {background: url(//game.gtimg.cn/images/hongjing/web201803/char_off4.jpg);}
.char h3 {width:176px;height:131px;margin:248px auto 10px;text-align: center;color: #fff;font-size: 48px;text-indent: -9999px;}
.char-off1 h3 {background-position: 0 -451px;}
.char-off2 h3 {width:220px;background-position: -176px -451px;}
.char-off3 h3 {background-position: -401px -451px;}
.char-off4 h3 {background-position: 0 -589px;}
.char h3 b {position: relative;font-size: 70px;text-indent: -9999px;width: 100%;display: inline-block; height: 90px;margin: 248px auto 22px;}
.char h3 b:after {content: '';position: absolute;left:50%;bottom:0;margin-left: -21px;width:42px;height: 6px;background: #fff;}
.char p {text-align: center;font-size: 20px;color: #fff;}

.char-on {position:relative;z-index:1000;width: 1416px;margin:-711px auto 0;}
.char-on h3 {width:231px;height:57px;text-align: center;color: #ff0000;font-size: 60px;margin:0 auto 10px;}
.char-on1 h3 {background-position: -160px -585px;}
.char-on2 h3 {width:245px;background-position: -174px -645px;}
.char-on3 h3 {background-position: -176px -705px;}
.char-on4 h3 {background-position: -183px -766px;}
.char-on p {font-size: 32px;line-height: 1;}
.char-on li {position: absolute;display: none;box-sizing: border-box;}
.char-on1 {left: -218px;width: 575px;height: 783px;background: url(//game.gtimg.cn/images/hongjing/web201803/char_on1.png);padding: 580px 0px 0px 209px;}
.char-on2 {left: 187px;width: 522px;height: 852px;background: url(//game.gtimg.cn/images/hongjing/web201803/char_on2.png);padding: 575px 0px 0px 159px;}
/*.char-on3 {left: 707px;width: 471px;height: 800px;background: url(//game.gtimg.cn/images/hongjing/web201803/char_on3.png);padding: 580px 160px 0px 43px;}*/
.char-on3 {left: 707px;width: 471px;height: 802px;background: url(//game.gtimg.cn/images/hongjing/web201803/char_on3.png);padding: 580px 160px 0px 43px;}
.char-on4 {right: -220px;width: 574px;height: 799px;background: url(//game.gtimg.cn/images/hongjing/web201803/char_on4.png);padding: 585px 220px 0px 0px;}
.char-on2 h3,.char-on3 h3 {color: #e3360e;}
  </style>
  <body>
      <div class="char">
            <ul class="char-off">
                    <li class="char-off1"><h3 class="spr"><b>01</b>正版授权</h3><p>20年经典耀世新生</p></li>
                    <li class="char-off2"><h3 class="spr"><b>02</b>铁血与荣耀</h3><p>建造你的红警帝国</p></li>
                    <li class="char-off3"><h3 class="spr"><b>03</b>百军大战</h3><p>盟友集结决战沙场</p></li>
                    <li class="char-off4"><h3 class="spr"><b>04</b>自由科技</h3><p>战略智慧决定胜利</p></li>
                </ul>
                <ul class="char-on">
                    <li class="char-on1" style="display: list-item;">
                        <h3 class="spr">正版授权</h3><p>20年经典耀世新生</p>
                    </li>
                    <li class="char-on2" style="display: none;">
                        <h3 class="spr">铁血与荣耀</h3><p>建造你的红警帝国</p>
                    </li>
                    <li class="char-on3" style="display: none;">
                        <h3 class="spr">百军大战</h3><p>盟友集结决战沙场</p>
                    </li>
                    <li class="char-on4" style="display: none;">
                        <h3 class="spr">自由科技</h3><p>战略智慧决定胜利</p>
                    </li>
                </ul>
      </div>
    <script src="//ossweb-img.qq.com/images/js/jquery/jquery-1.11.3.min.js"></script>
    <script src="js/vue.js"></script>
    <script>
        var page = -1;
        var time = null;
        function slide() {
            page++;
            if(page>3){page=0}
            $('.char-on li').eq(page).show().siblings().hide();
           time=setTimeout(slide,3000)
        }
        slide();
        $('.char-on li,.char-off li').mouseover(function(){
            
        })
    </script>
  </body>
</html>
